package org.hy.domain.global;

import java.util.Date;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import org.hy.domain.User;

public class Sue {
	public static int CAREER_SHOW = 10;
	public static int CAREER_PROBLEM = 11;
	
	public static int INTEREST_SHOW = 20;
	public static int INTEREST_PROBLEM = 21;
	public static int INTEREST_RESEARCH = 22;
	
	public static int CAREER_SHOW_COMMENT = 30;
	public static int CAREER_PROBLEM_COMMENT = 31;
	
	public static int INTEREST_SHOW_COMMENT = 40;
	public static int INTEREST_PROBLEM_COMMENT = 41;
	public static int INTEREST_RESEARCH_COMMENT = 22;
	
	public static int GDISCUSS = 50;
	public static int GANSWER = 51;
	public static int GSHARE = 52;
	public static int GJOB = 53;
	
	private Integer id;
	
	private Integer administratorId;//提供管理员ID
	
	private User whoSue;
	
	private Integer whoSueId;//提供举报者ID
	
	private User whoSued;
	
	private Integer whoSuedId;//提供被举报者ID
	
	private String reason;
	
	private int location;//是指模块
	
	private Date intime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getWhoSue() {
		return whoSue;
	}

	public void setWhoSue(User whoSue) {
		this.whoSue = whoSue;
	}

	public User getWhoSued() {
		return whoSued;
	}

	public void setWhoSued(User whoSued) {
		this.whoSued = whoSued;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public int getLocation() {
		return location;
	}

	public void setLocation(int location) {
		this.location = location;
	}

	public Date getIntime() {
		return intime;
	}

	public void setIntime(Date intime) {
		this.intime = intime;
	}
	
	public Integer getAdministratorId() {
		return administratorId;
	}

	public void setAdministratorId(Integer administratorId) {
		this.administratorId = administratorId;
	}

	public Integer getWhoSueId() {
		return whoSueId;
	}

	public void setWhoSueId(Integer whoSueId) {
		this.whoSueId = whoSueId;
	}

	public Integer getWhoSuedId() {
		return whoSuedId;
	}

	public void setWhoSuedId(Integer whoSuedId) {
		this.whoSuedId = whoSuedId;
	}

	public String toString() {
		
		ToStringBuilder builder = new ToStringBuilder(this,ToStringStyle.SIMPLE_STYLE);	
		
		return builder.toString();
	}
	
}
